package com.ruoyi.system.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@Data
public class OrderContrastDetail {
    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    /**
     * id
     */
    private Long id;

    /**
     * 批次id
     */
    @ExcelProperty("批次id")
    @ColumnWidth(20)
    private String orderContrastId;

    @ExcelProperty("订单编号")
    @ColumnWidth(25)
    private String serial;

    @ExcelProperty("订单号码")
    @ColumnWidth(11)
    private String telnumber;

    /**
     * 用户标识号
     */
    @ExcelProperty("用户标识号")
    @ColumnWidth(16)
    private String identificationNumber;

    /**
     * 出佣金额
     */
    @ExcelProperty("出佣金额")
    private BigDecimal price;

    /**
     * 政策名称
     */
    @ExcelProperty("政策名称")
    @ColumnWidth(26)
    private String policyName;

    /**
     * 订单给佣比例对应的金额
     */
    @ExcelProperty("分佣明细")
    @ColumnWidth(40)
    private String commissionPriceArr;

    /**
     * 对比状态默认01成功2失败
     */
    @ExcelProperty(value = "对比状态", converter = OrderContrastDetailConverter.class)
    private Integer status;

    /**
     * 响应失败信息
     */
    @ExcelProperty("响应信息")
    @ColumnWidth(16)
    private String response;
    @ExcelProperty("比对时间")
    @ColumnWidth(18)
    private Date createTime;


}
